/*
 * Copyright (c) 2020, 2025, keyila All rights reserved.
 *
 */
package com.clp.study.Test.OneToTen;

import java.util.stream.IntStream;

/**
 * @author clp
 * @version 1.0
 */
public class Seven {
    public static void main(String[] args) {
        int sum= IntStream.range(1,5).sum();
        System.out.println(sum);
    }
}
